package com.github.butid.data.netty.core;

import com.github.butid.data.codec.RequestBody;
import com.github.butid.data.codec.ResultBody;

/**
 * @author wangjing.dc@qq.com
 * @since 2020/8/6
 */
public interface Command<M extends RequestBody> {

    ResultBody exec(M m);
}
